<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="../common/taglibs.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="/js/menu/jquery-1.5.js"></script>
<link rel="StyleSheet" type="text/css" href="<%=request.getContextPath()%>/pages/css/common.css"></link>

<title>DFASS</title>

</head>
<body>
	<div class="headerContent" align="center">
		<div class="header">
		<%@ include file="../inc/logged_top.jsp" %>			
		</div>
		<div id="nav_container">
		<%@ include file="../menu/menu_customer.jsp" %>
	    </div>
	</div>
	
	<div class="bodyContent" align="center">
		<table><tr><td>&nbsp;</td></tr></table>
		<s:form theme="simple">
			<!-- This Empty Table is Required before the content of the body -->
			<table class="tblAdminNormal">
				<thead>
					<tr>
						<td colspan="7" width="800px" >Customer case details</td>
					</tr>
				</thead>
			</table>		
 			<table class="userList" border="1">
				<thead>
					<tr height="30px">
			            <td width="119">Customer Name</td>
			            <td width="110">Order Number</td>
			            <td width="105">Case Number</td>
			            <td width="112">Email</td>			             
			            <td width="112"> Date </td>
			            <td width="112">Status </td>
			            <td>Action<td>
			            
		            </tr>
		        </thead>
		        <tbody>
		        	<c:forEach var="compln" items="${complains}">
				        <tr>
							<td width="119">${compln.cusname}</td>
				            <td width="110">${compln.ordnum}</td>
				            <td width="221" align="center">${compln.caseid}</td>
				            <td width="110" align="left">${compln.email}</td>
          					<td>${compln.date}</td>
							<td>${compln.status}</td>
							<td><a href="cloadUserLoginDetails?id=${log.user.userId }"  tip="More details" class="tooltip"><img src="<%=request.getContextPath()%>/pages/images/common/ico_edit.png" alt="More details"  /></a></td>
				        </tr>
		        	</c:forEach>
		        </tbody>
			</table>
		</s:form>
	</div>
	
	<div class="footerContent" align="center">
		<div class="footer">
			<%@ include file="/pages/inc/footer.jsp" %>
		</div>
	</div>
	
</body>
</html>